<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@ include file="init.jsp" %>

<%
	String itemQLKTCSDLDC = ParamUtil.getString(request, "pathQLKTCSDLDC", QLKTCSDLDCContants.NAVIGATOR_QUAN_LY_DAN_CU);
%>



<portlet:renderURL var="chucNangURL" windowState="normal">
	<portlet:param name="mvcPath" value="/html/qlktcsdldc/{0}"/>
</portlet:renderURL>
<script>
function <portlet:namespace/>chonChucNang(value) {
	var path = '<%=chucNangURL.toString()%>';
	 path = path.replace(/%7B0%7D/g, function() {
	  	return value+'.jsp';
	 });
	 console.log('path '+path)
	 location.href = path;

}
</script>

<div class="header"><liferay-ui:message key="chon-chuc-nang" /></div>
<div class="navigation">
	<ul class="qtht-list">	
		<li <%=itemQLKTCSDLDC.equals(QLKTCSDLDCContants.NAVIGATOR_QUAN_LY_DAN_CU) ? "class='active'" : ""%>>
			<a href="javascript:<portlet:namespace/>chonChucNang('<%=QLKTCSDLDCContants.NAVIGATOR_QUAN_LY_DAN_CU%>')"><liferay-ui:message key="quan-ly-dan-cu" /></a>
		</li>
		<li <%=itemQLKTCSDLDC.equals(QLKTCSDLDCContants.NAVIGATOR_IMPORT_DAN_CU) ? "class='active'" : ""%>>
			<a href="javascript:<portlet:namespace/>chonChucNang('<%=QLKTCSDLDCContants.NAVIGATOR_IMPORT_DAN_CU%>')"><liferay-ui:message key="import-dan-cu" /></a>
		</li>
		<li <%=itemQLKTCSDLDC.equals(QLKTCSDLDCContants.NAVIGATOR_QUAN_LY_TAI_KHOAN) ? "class='active'" : ""%>>
			<a href="javascript:<portlet:namespace/>chonChucNang('<%=QLKTCSDLDCContants.NAVIGATOR_QUAN_LY_TAI_KHOAN%>')"><liferay-ui:message key="quan-ly-tai-khoan" /></a>
		</li>
		<li <%=itemQLKTCSDLDC.equals(QLKTCSDLDCContants.NAVIGATOR_DANH_MUC_SO_BAN_NGANH) ? "class='active'" : ""%>>
			<a href="javascript:<portlet:namespace/>chonChucNang('<%=QLKTCSDLDCContants.NAVIGATOR_DANH_MUC_SO_BAN_NGANH%>')"><liferay-ui:message key="danh-muc-so-ban-nganh" /></a>
		</li>
	</ul>
</div>